<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>通告详情-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet"/>
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet"/>
<!--[if IE 6]>
<script src="js/DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
</head>
<body>
<?php include_once(VIEWPATH."public/header.php");?>
<div class="mainbody" id="mainbody">
	<div class="introd container">

        <div class="introd_top introd_top_bg3">
            <div class="intopimg">
                <img src="<?php echo (!empty($insInfo['bgimg'])) ? _get_image_url($insInfo['bgimg']) : _get_cfg_path('images').'int_1.jpg'?>" />
            </div>
            <div class="bottom_back"></div>
            <div class="intcon">
                <div class="fl col_sub">
                    <div class="cs_avatar"><a href="/i/index/<?=$info["userid"]?>" target="_blank"><img src="<?php echo (!empty($insInfo['userlogo'])) ? _get_image_url($insInfo['userlogo']): _get_cfg_path('images').'int_2.jpg'?>"/></a></div>
                    <!-- 
                    <ul class="cs_number clearfix">
                        <li><strong><?=empty($insInfo['concernnum'])?0:$insInfo['concernnum'];?></strong><span>关注</span></li>
                        <li><strong><?=empty($insInfo['fansnum'])?0:$insInfo['fansnum'];?></strong> <span>粉丝</span></li>
                        <li><strong><?php echo empty($insInfo['be_ordernum'])?0:$insInfo['be_ordernum'];?></strong> <span>拍片次数</span></li>
                    </ul>
                    <div class="cs_popul"><strong><?php echo empty($oUser['visitnum'])?0:$oUser['visitnum'];?></strong>人气</div> -->
                </div>
                <div class="fl info_wrap">
	                <div class="clearfix name_info_titile">
	        		<div class="namebox fl">
	            		<div class="fl nick_name_personal"><?=isset($insInfo['nickname'])?$insInfo['nickname']:'';?></div>
	            		<div class="fl sex_personal"><?php if(isset($insInfo['sex'])&&$insInfo['sex']):?><img src="<?php echo _get_cfg_path('images')?><?php echo $insInfo['sex']==1?'male':'female';?>.png"><?php endif;?></div>
	            		<div class="fl position_personal"><?php if (isset($insInfo['city'])):?><img src="<?php echo _get_cfg_path('images')?>position.png"/><?php endif;?></div>
	            		<div class="fl sex_personal"><?=isset($insInfo['city'])?$insInfo['city']:''?></div>
	            	</div>
                    <!-- <div class="namebox namebox_a"><a href="##"><?php echo $insInfo['nickname']?></a></div>
                    <div class="namebox"><p><?php echo $insInfo['city']?>   </p></div> -->
                </div>
                </div>
                <div class="fr model_related_info">
		        	<ul class="cs_number clearfix">
		                <li><strong><?=empty($oUser['concernnum'])?0:$oUser['concernnum'];?></strong><span>关注</span></li>
		                <li><strong><?=empty($oUser['fansnum'])?0:$oUser['fansnum'];?></strong> <span>粉丝</span></li>
		                <!-- <li><strong><?=empty($oUser['be_ordernum'])?0:$oUser['be_ordernum'];?></strong> <span>拍片次数</span></li> -->
		            </ul>
		        </div>
            </div>
        </div> 

        <div class="introd_title clearfix" id="introd_title">
            <ul class="clearfix fl">
                <li class="iton"><a>活动介绍</a></li>
            </ul>
            <div class="fr actde_compe">
            	<!--<a href="##">我要参赛</a>-->
                <?php if($info['inendtime']>=time()):?>
                <a class="XT-enter" _val="<?=_get_key_val($info['id']);?>" title="<?=$info['title'];?>" href="javascript:;"><?php echo ($info['isApply'] == 1)?'已报名':'报名'?></a>
                <?php else:?>
                    <a href="javascript:;">已结束</a>
                <?php endif?>
            </div>
        </div>
        <div class="actde_detailed">
        	<div class="clearfix">
                <div class="fl actd_img"><img src="<?php echo '/'.$info['img']?>"/></div>
                <?php if($info['type'] == 1)  ://面试?>   
                <div class="fr actd_dat">
                    <p><span>通告名称：</span><?php echo !empty($info['title']) ? $info['title'] : ''?></p>
                    <p><span>工作性质：</span> <?php echo !empty($info['category']) ? $info['category'] : ' '?><br/></p>     
                    <p><span>预算费用：</span> <?php echo !empty($info['workfee']) ? $info['workfee'] : '0.00'?><br/></p>     
                    <p><span>模特要求：</span> <?php echo !empty($info['summary']) ? str_replace('||', ',',$info['summary']): ' '?><br/></p>
                    <p><span>面试时间：</span> <?php echo !empty($info['begtime']) ? $info['begtime']: ' '?><br/></p>    
                    <p><span>面试地点：</span> <?php echo !empty($info['place']) ? $info['place'] : ' '?><br/></p>
                    <p><span>报名截止：</span> <?php echo date('Y/m/d', $info['inendtime']); ?><br/></p>
                </div>
                <?php elseif($info['type'] == 2) : //工作?>
                <div class="fr actd_dat">
                    <p><span>通告名称：</span><?php echo !empty($info['title']) ? $info['title'] : ''?></p>
                    <p><span>工作性质：</span><?php echo !empty($info['category']) ? $info['category'] : ' '?><br/></p> 
                     <p><span>预算费用：</span> <?php echo !empty($info['workfee']) ? $info['workfee'] : '0.00'?><br/></p> 
                    <p><span>模特要求：</span> <?php echo !empty($info['summary']) ? str_replace('||', ',',$info['summary']): ' '?><br/></p>    
                    <p><span>工作地点：</span> <?php echo !empty($info['place']) ? $info['place'] : ' '?><br/></p>
                    <p><span>工作时间：</span> <?php echo !empty($info['begtime']) ? $info['begtime']: ' '?><br/></p>      
                    <p><span>报名截止：</span> <?php echo date('Y/m/d', $info['inendtime']); ?><br/></p>
                </div>
                <?php elseif($info['type'] == 3) : //比赛 ?>
                <div class="fr actd_dat">  
                    <p><span>通告名称：</span><?php echo !empty($info['title']) ? $info['title'] : ''?></p>
                    <p><span>工作性质：</span><?php echo !empty($info['category']) ? $info['category'] : ' '?><br/></p> 
                     <p><span>预算费用：</span> <?php echo !empty($info['workfee']) ? $info['workfee'] : '0.00'?><br/></p> 
                    <p><span>制作要求：</span> <?php echo !empty($info['summary']) ? $info['summary'] : ' '?> <br/></p>     
                    <p><span>产品数量：</span> <?php echo !empty($info['pro_num']) ? $info['pro_num'] : ' '?><br/></p>
                    <p><span>工作地点：</span> <?php echo !empty($info['place']) ? $info['place'] : ' '?><br/></p>
                    <p><span>工作时间：</span> <?php echo !empty($info['begtime']) ? $info['begtime']: ' '?><br/></p>  
                    <p><span>报名截止：</span> <?php echo date('Y/m/d', $info['inendtime']); ?><br/></p>
                </div>
            <?php endif?>
            </div>
            <div class="actd_dat_con">
                <span class="signuptitle">通告详情：</span> <?php echo strip($info['content'])?><br/><br/>
               <span class="signuptitle">其他备注: </span><?php echo strip($info['other'])?><br/><br/>
               <span class="signuptitle">公司简介: </span><?php echo strip($insInfo['memo'])?><br/>
            </div>
            <div class="signuplist">
                <div class="signuptitle">报名人数<span>(<?php echo $count?>人)</span></div>
                <ul class="clearfix">
                    <?php 
                    if (!empty($list)) :
                    foreach($list as $l) :?>
                    <li>
                        <a href="/i/index/<?=$l['id']?>" title="魔步网签约">
                            <img src="<?php echo '/'.$l['userlogo'];?>"/>
                            <div class="head_bj"></div>
                        </a>
                    </li>
                    <?php endforeach; endif;?>
                </ul>
            </div>
            
        </div>
    </div>
</div>
<!--mainbody-->
<?php include_once(VIEWPATH."public/footer.php");?>
</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>pages/act.js"></script>
</html>